var mysql = require('promise-mysql');
//创建连接
var pool = mysql.createPool({
    host: 'localhost',
    port: 3306,
    user: 'root',
    password: 'root',
    database: 'blog'
});
module.exports = pool;